package org.jeecg.modules.finance.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 财务 - 账单表
 * @Author: jeecg-boot
 * @Date:   2021-05-03
 * @Version: V1.0
 */
@Data
@TableName("finance_bill")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="finance_bill对象", description="财务 - 账单表")
public class FinanceBill implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**交易时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "交易时间")
    private java.util.Date createTime;
	/**交易单号*/
	@Excel(name = "交易单号", width = 15)
    @ApiModelProperty(value = "交易单号")
    private java.lang.String transactionNumber;
	/**交易类型*/
	@Excel(name = "交易类型", width = 15)
    @ApiModelProperty(value = "交易类型")
    private java.lang.String transactionType;
	/**交易对方*/
	@Excel(name = "交易对方", width = 15)
    @ApiModelProperty(value = "交易对方")
    private java.lang.String counterparty;
	/**商品*/
	@Excel(name = "商品", width = 15)
    @ApiModelProperty(value = "商品")
    private java.lang.String commodity;
	/**金额(分)*/
	@Excel(name = "金额(分)", width = 15)
    @ApiModelProperty(value = "金额(分)")
    private java.lang.Integer money;
	/**支付账户*/
	@Excel(name = "支付账户", width = 15)
    @ApiModelProperty(value = "支付账户")
    private java.lang.String paymentAccount;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;
	/**标签*/
	@Excel(name = "标签", width = 15)
    @ApiModelProperty(value = "标签")
    private java.lang.String labels;
	/**录入方式（字典）*/
	@Excel(name = "录入方式（字典）", width = 15, dicCode = "import_type")
	@Dict(dicCode = "import_type")
    @ApiModelProperty(value = "录入方式（字典）")
    private java.lang.String importType;
}
